/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CBJSEnum extends StringEnum
{
    public static final String ALL_VALUE = "2";
    public static final String NOT_VALUE = "0";
    public static final String YES_VALUE = "1";

    public static final CBJSEnum all = new CBJSEnum("all", ALL_VALUE);
    public static final CBJSEnum not = new CBJSEnum("not", NOT_VALUE);
    public static final CBJSEnum yes = new CBJSEnum("yes", YES_VALUE);

    /**
     * construct function
     * @param String cBJSEnum
     */
    private CBJSEnum(String name, String cBJSEnum)
    {
        super(name, cBJSEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CBJSEnum getEnum(String cBJSEnum)
    {
        return (CBJSEnum)getEnum(CBJSEnum.class, cBJSEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CBJSEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CBJSEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CBJSEnum.class);
    }
}